#ifndef _drv_pwm_h
#define _drv_pwm_h

//用于输出50Hz pwm测试舵机

#define TIM_PWM      TIM2
#define PWM_FREQ     50
#define ADTIMClockFrequency   64000000
#define TimerPrescaler       1000


void DPM_PwmInit(void);
void DPM_DutySet(float duty);


#endif

